<template>
  <div>
    <p>我是用户界面</p>
    <p>用户的id:{{ userId }}</p>
  </div>
</template>

<script>
export default {
  data() {
    return {
      userId: "",
    };
  },
  mounted() {
    this.userId = this.$route.params.id;
  },
};
</script>

<style>
</style>